import { NgModule } from '@angular/core';
import { NavigationEnd, Router, RouterModule } from '@angular/router';
import { EnvelopestatisticsComponent } from './envelopestatistics/envelopestatistics.component';
import { QmPacketQueryComponent } from './packet/packet.component';
import { QualitydataqueryComponent } from './qualitydataquery/qualitydataquery.component';
import { SummarystatisticsComponent } from './summarystatistics/summarystatistics.component';
import { MultiMediaComponent } from './multi-media/multi-media.component';
import { ImportWorkComponent } from './import-work/import-work.component';

@NgModule({
    imports: [
        RouterModule.forChild([
            {
                path: '',
                children: [
                    { path: 'packet', component: QmPacketQueryComponent},
                    { path: 'qualitydataquery', component: QualitydataqueryComponent},
                    { path: 'summarystatistics', component: SummarystatisticsComponent},
                    { path: 'envelopestatistics', component: EnvelopestatisticsComponent},
                    { path: 'multi-media', component: MultiMediaComponent},
                    { path: 'import-work', component: ImportWorkComponent},
                ]
            }
        ])
    ],
    exports: [
        RouterModule
    ]
})
export class QmRoutingModule { 
  
}
